import request from '../utils/request.js'

/**
 *
 */
export const login = (data) => {
  return request({
    url: '/authorizations',
    method: 'Post',
    data,
  })
}
// 获取用户个人资料
export const getProfile = () => request.get('/user/profile')
